<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt"  uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="${pageContext.request.contextPath }/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>修改面料属性</title>
</head>
<body>
<div class="pd-20">
	<form action="" method="post" class="form form-horizontal" id="update_FabricFilter_Form">
		<input type="hidden" id="ffId" name="ffId" value="${ff.ffId }">
		<div class="row cl">
	        <label class="form-label col-3"><span class="c-red">*</span>上级：</label>
	        <div class="formControls col-5">
	        	<span class="select-box" style="width:150px;">
		            <select id="ffParentId" name="ffParentId" class="select" datatype="*" nullmsg="请选择上级">
		       			<option value="">请选择</option>
		           		<c:forEach items="${parent }" var="p">
		           			<c:if test="${ff.ffId!=p.ffId }">
		           				<option value="${p.ffId }" <c:if test="${ff.ffParentId==p.ffId }">selected="selected"</c:if>>${p.ffName }</option>
		           			</c:if>
		           		</c:forEach>
					</select>
				</span>
           </div>
           <div class="col-4"> </div>
       </div>
       <div class="row cl">
           <label class="form-label col-3"><span class="c-red">*</span>中文名称：</label>
           <div class="formControls col-5">
           		<input type="text" class="input-text" value="${ff.ffName }" placeholder="请输入中文名称" id="ffName" name="ffName" datatype="*1-10" nullmsg="中文名称不能为空">
           </div>
           <div class="col-4"> </div>
       </div>
       <div class="row cl">
           <label class="form-label col-3"><span class="c-red">*</span>英文名称：</label>
           <div class="formControls col-5">
               <input type="text" class="input-text" value="${ff.ffNameEn }" placeholder="请输入英文名称" id="ffNameEn" name="ffNameEn" datatype="*1-50" nullmsg="英文名称不能为空">
           </div>
           <div class="col-4"> </div>
       </div>
       <div class="row cl">
       	 <div class="col-9 col-offset-3">
	         <a class="btn btn-primary save"  onclick="operationdata('../fabricFilter/update','#update_FabricFilter_Form')">保存</a>
	         <a class="btn btn-primary" onclick="closethis()">取消</a>
         </div>
       </div>
	</form>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/icheck/jquery.icheck.min.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/js/H-ui.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/js/H-ui.admin.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/webuploader/0.1.5/webuploader.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/uploadSingleImg.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/jqthumb/jqthumb.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/tableBtnGroup.js"></script>
<script type="text/javascript">
function closethis(){
	var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
   	parent.layer.close(index);
}
</script>
</body>
</html>